import request from '@/utils/request'

// 查询评价信息列表
export function listAssess(query) {
  return request({
    url: '/rms/assess/list',
    method: 'get',
    params: query
  })
}

// 查询评价信息详细
export function getAssess(assessId) {
  return request({
    url: '/rms/assess/' + assessId,
    method: 'get'
  })
}

// 新增评价信息
export function addAssess(data) {
  return request({
    url: '/rms/assess',
    method: 'post',
    data: data
  })
}

// 修改评价信息
export function updateAssess(data) {
  return request({
    url: '/rms/assess',
    method: 'put',
    data: data
  })
}

// 删除评价信息
export function delAssess(assessId) {
  return request({
    url: '/rms/assess/' + assessId,
    method: 'delete'
  })
}
